﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entity.ord
{
    //进货订单表（主表）
    public class Purchase_h
    {
        public int pur_id { get; set; } //进货订单ID
        public string pur_code { get; set; } //进货订单编号
        public DateTime pur_date { get; set; } //进货日期
        public int sup_id { get; set; } //供应商
        public string sup_name { get; set; } //供应商名称
        public string sup_linkman { get; set; } //供应商联系人
        public string sup_linkphone { get; set; } //供应商联系电话
        public int pur_depId { get; set; } //进货部门ID
        public string pur_depName { get; set; } //进货部门
        public int pur_userId { get; set; } //进货人ID
        public string pur_userName { get; set; } //进货人
        public int pur_categories { get; set; } //进货种类
        public int pur_num { get; set; } //进货数量
        public double pur_total { get; set; } //进货总金额
        public int? pur_instockOK_num { get; set; } //已入库数量
        public int? pur_instockNO_num { get; set; } //未入库数量
        public int? purd_returned_num { get; set; } //已退货数量
        public int pur_status { get; set; } //单据状态
        public string create_name { get; set; } //创建人
        public DateTime create_time { get; set; } //创建时间
        public string? update_name { get; set; } //更新人
        public DateTime? update_time { get; set; } //更新时间
        public string? approver_name { get; set; } //审核人
        public DateTime? approver_time { get; set; } //审核时间
        public int is_delete { get; set; } //是否删除
        public string? remark { get; set; } //备注

        //扩展
        public string? proc_list {  get; set; }//货品清单
    }
}
